package com.training.java.core.inheritance;

public  class Bmw extends Car {
	
	
	private boolean convertibleOption;
	
	
	Bmw(boolean convertibleOption,int vinNumber, String make, String model, String color, int maxSpeed,
			int year, int milesPerHour)
	{
		    super(vinNumber, make, model, color, maxSpeed, year,milesPerHour);
				
		this.convertibleOption=convertibleOption;
	}
	
	
	
	boolean  start()
	{
		
		System.out.println(" I'm Bmw convertible:  "+ isStarted());
				
		return isStarted();
	}
	
	
	//This Method  tells that the  BMW has convertible option
	
	
	boolean convert()
	
	{
		System.out.println("Has Convertable "+ convertibleOption);
		
		return convertibleOption;
	
	}
	
	

}
